<admintpl file="header" />
</head>
<body class="J_scroll_fixed">
    <div class="wrap js-check-wrap">
        <ul class="nav nav-tabs">
            <li class="active"><a href="{:U('Tui/Game/man')}" target="_self">游戏管理</a></li>
            <li><a href="{:U('Tui/Game/add')}" target="_self">添加游戏</a></li>
        </ul>
        <form class="well form-search" method="get" action="{:U('Tui/Game/man')}">
            <div class="search_type cc mb10">
                <div class="mb10">
                    <span class="mr20">
                        游戏： 
                        <input type="text" name='appname' value='{$formget.appname}' placeholder='请输入游戏名称' />
                        <input type="submit" class="btn btn-primary" value="搜索" />
                    </span>
                </div>
            </div>
        </form>

        <form class="js-ajax-form" action="" method="post">
            <table class="table table-hover table-bordered table-list">
                <thead>
                    <tr>
                        <th width="20">ID</th>       
                        
                        <th width="30">游戏名称</th>      
                        <th width="40">渠道折扣</th>
                        <th width="80">玩家优惠类型</th>
                        
                        <!-- 
                        <th width="40">渠道首充</th>
                        <th width="50">渠道续充</th> 
                        <th width="60">玩家首充</th>                        
                        <th width="50">玩家续充</th> -->                                              
                        <th width="40">操作</th>
                    </tr>
                </thead>                
                <foreach name="items" item="vo">
                    <tr>
                        <td>{$vo.id}</td>                        
                        <td>{$vo.name}</td>
                        <td>{$vo.agent_rate}</td>    
                        
                        <td>{$vo.benefit_type_txt}</td> 
                        <td>
                            <a href="{:U('Tui/Game/edit','','')}/app_id/{$vo.id}" >修改</a>
                        </td>   
                    </tr>
                </foreach>				
            </table>
            <div class="pagination">{$Page}</div>
        </form>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
</body>
</html>